<h1>Listing user_folders</h1>

<table>
  <thead>
    <tr>
      <th>Project</th>
      <th>Group</th>
      <th>Group folder</th>
      <th>Name</th>
      <th>Owner</th>
      <th>Docs count</th>
      <th>Creator</th>
      <th>Enabled</th>
      <th>Remark</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @user_folders.each do |user_folder| %>
      <tr>
        <td><%= user_folder.project_id %></td>
        <td><%= user_folder.group_id %></td>
        <td><%= user_folder.group_folder_id %></td>
        <td><%= user_folder.name %></td>
        <td><%= user_folder.owner_id %></td>
        <td><%= user_folder.docs_count %></td>
        <td><%= user_folder.creator_id %></td>
        <td><%= user_folder.enabled %></td>
        <td><%= user_folder.remark %></td>
        <td><%= link_to 'Show', user_folder %></td>
        <td><%= link_to 'Edit', edit_user_folder_path(user_folder) %></td>
        <td><%= link_to 'Destroy', user_folder, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New User folder', new_user_folder_path %>
